Integrand size = 21, antiderivative size = 87 \[ \int \frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}} \, dx=-\frac {3 b \sqrt {b \sqrt {x}+a x}}{2 a^2}+\frac {\sqrt {x} \sqrt {b \sqrt {x}+a x}}{a}+\frac {3 b^2 \text {arctanh}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {b \sqrt {x}+a x}}\right )}{2 a^{5/2}} \]
3/2*b^2*arctanh(a^(1/2)*x^(1/2)/(b*x^(1/2)+a*x)^(1/2))/a^(5/2)-3/2*b*(b*x^ (1/2)+a*x)^(1/2)/a^2+x^(1/2)*(b*x^(1/2)+a*x)^(1/2)/a
Time = 0.26 (sec) , antiderivative size = 80, normalized size of antiderivative = 0.92 \[ \int \frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}} \, dx=\frac {\left (-3 b+2 a \sqrt {x}\right ) \sqrt {b \sqrt {x}+a x}}{2 a^2}+\frac {3 b^2 \text {arctanh}\left (\frac {\sqrt {a} \sqrt {b \sqrt {x}+a x}}{b+a \sqrt {x}}\right )}{2 a^{5/2}} \]
((-3*b + 2*a*Sqrt[x])*Sqrt[b*Sqrt[x] + a*x])/(2*a^2) + (3*b^2*ArcTanh[(Sqr t[a]*Sqrt[b*Sqrt[x] + a*x])/(b + a*Sqrt[x])])/(2*a^(5/2))
Time = 0.23 (sec) , antiderivative size = 93, normalized size of antiderivative = 1.07, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {1924, 1134, 1160, 1091, 219}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\sqrt {x}}{\sqrt {a x+b \sqrt {x}}} \, dx\) |
\(\Big \downarrow \) 1924 |
\(\displaystyle 2 \int \frac {x}{\sqrt {\sqrt {x} b+a x}}d\sqrt {x}\) |
\(\Big \downarrow \) 1134 |
\(\displaystyle 2 \left (\frac {\sqrt {x} \sqrt {a x+b \sqrt {x}}}{2 a}-\frac {3 b \int \frac {\sqrt {x}}{\sqrt {\sqrt {x} b+a x}}d\sqrt {x}}{4 a}\right )\) |
\(\Big \downarrow \) 1160 |
\(\displaystyle 2 \left (\frac {\sqrt {x} \sqrt {a x+b \sqrt {x}}}{2 a}-\frac {3 b \left (\frac {\sqrt {a x+b \sqrt {x}}}{a}-\frac {b \int \frac {1}{\sqrt {\sqrt {x} b+a x}}d\sqrt {x}}{2 a}\right )}{4 a}\right )\) |
\(\Big \downarrow \) 1091 |
\(\displaystyle 2 \left (\frac {\sqrt {x} \sqrt {a x+b \sqrt {x}}}{2 a}-\frac {3 b \left (\frac {\sqrt {a x+b \sqrt {x}}}{a}-\frac {b \int \frac {1}{1-a x}d\frac {\sqrt {x}}{\sqrt {\sqrt {x} b+a x}}}{a}\right )}{4 a}\right )\) |
\(\Big \downarrow \) 219 |
\(\displaystyle 2 \left (\frac {\sqrt {x} \sqrt {a x+b \sqrt {x}}}{2 a}-\frac {3 b \left (\frac {\sqrt {a x+b \sqrt {x}}}{a}-\frac {b \text {arctanh}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {a x+b \sqrt {x}}}\right )}{a^{3/2}}\right )}{4 a}\right )\) |
2*((Sqrt[x]*Sqrt[b*Sqrt[x] + a*x])/(2*a) - (3*b*(Sqrt[b*Sqrt[x] + a*x]/a - (b*ArcTanh[(Sqrt[a]*Sqrt[x])/Sqrt[b*Sqrt[x] + a*x]])/a^(3/2)))/(4*a))
3.2.19.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Simp[2 Subst[Int[1/(1 - c*x^2), x], x, x/Sqrt[b*x + c*x^2]], x] /; FreeQ[{b, c}, x]
Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_S ymbol] :> Simp[e*(d + e*x)^(m - 1)*((a + b*x + c*x^2)^(p + 1)/(c*(m + 2*p + 1))), x] + Simp[(m + p)*((2*c*d - b*e)/(c*(m + 2*p + 1))) Int[(d + e*x)^ (m - 1)*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[ c*d^2 - b*d*e + a*e^2, 0] && GtQ[m, 1] && NeQ[m + 2*p + 1, 0] && IntegerQ[2 *p]
Int[((d_.) + (e_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol ] :> Simp[e*((a + b*x + c*x^2)^(p + 1)/(2*c*(p + 1))), x] + Simp[(2*c*d - b *e)/(2*c) Int[(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[p, -1]
Int[(x_)^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp [1/n Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a*x^Simplify[j/n] + b*x)^p, x ], x, x^n], x] /; FreeQ[{a, b, j, m, n, p}, x] && !IntegerQ[p] && NeQ[n, j ] && IntegerQ[Simplify[j/n]] && IntegerQ[Simplify[(m + 1)/n]] && NeQ[n^2, 1 ]
Time = 2.41 (sec) , antiderivative size = 74, normalized size of antiderivative = 0.85
method | result | size |
derivativedivides | \(\frac {\sqrt {x}\, \sqrt {b \sqrt {x}+a x}}{a}-\frac {3 b \left (\frac {\sqrt {b \sqrt {x}+a x}}{a}-\frac {b \ln \left (\frac {\frac {b}{2}+a \sqrt {x}}{\sqrt {a}}+\sqrt {b \sqrt {x}+a x}\right )}{2 a^{\frac {3}{2}}}\right )}{2 a}\) | \(74\) |
default | \(\frac {\sqrt {b \sqrt {x}+a x}\, \left (4 \sqrt {x}\, \sqrt {b \sqrt {x}+a x}\, a^{\frac {5}{2}}+2 \sqrt {b \sqrt {x}+a x}\, a^{\frac {3}{2}} b +4 \ln \left (\frac {2 a \sqrt {x}+2 \sqrt {\sqrt {x}\, \left (a \sqrt {x}+b \right )}\, \sqrt {a}+b}{2 \sqrt {a}}\right ) a \,b^{2}-8 \sqrt {\sqrt {x}\, \left (a \sqrt {x}+b \right )}\, a^{\frac {3}{2}} b -b^{2} \ln \left (\frac {2 \sqrt {b \sqrt {x}+a x}\, \sqrt {a}+2 a \sqrt {x}+b}{2 \sqrt {a}}\right ) a \right )}{4 \sqrt {\sqrt {x}\, \left (a \sqrt {x}+b \right )}\, a^{\frac {7}{2}}}\) | \(160\) |
x^(1/2)*(b*x^(1/2)+a*x)^(1/2)/a-3/2*b/a*((b*x^(1/2)+a*x)^(1/2)/a-1/2*b/a^( 3/2)*ln((1/2*b+a*x^(1/2))/a^(1/2)+(b*x^(1/2)+a*x)^(1/2)))
Timed out. \[ \int \frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}} \, dx=\text {Timed out} \]
Time = 0.33 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.64 \[ \int \frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}} \, dx=2 \left (\begin {cases} \left (\frac {\sqrt {x}}{2 a} - \frac {3 b}{4 a^{2}}\right ) \sqrt {a x + b \sqrt {x}} + \frac {3 b^{2} \left (\begin {cases} \frac {\log {\left (2 \sqrt {a} \sqrt {a x + b \sqrt {x}} + 2 a \sqrt {x} + b \right )}}{\sqrt {a}} & \text {for}\: \frac {b^{2}}{a} \neq 0 \\\frac {\left (\sqrt {x} + \frac {b}{2 a}\right ) \log {\left (\sqrt {x} + \frac {b}{2 a} \right )}}{\sqrt {a \left (\sqrt {x} + \frac {b}{2 a}\right )^{2}}} & \text {otherwise} \end {cases}\right )}{8 a^{2}} & \text {for}\: a \neq 0 \\\frac {2 \left (b \sqrt {x}\right )^{\frac {5}{2}}}{5 b^{3}} & \text {for}\: b \neq 0 \\\tilde {\infty } x^{\frac {3}{2}} & \text {otherwise} \end {cases}\right ) \]
2*Piecewise(((sqrt(x)/(2*a) - 3*b/(4*a**2))*sqrt(a*x + b*sqrt(x)) + 3*b**2 *Piecewise((log(2*sqrt(a)*sqrt(a*x + b*sqrt(x)) + 2*a*sqrt(x) + b)/sqrt(a) , Ne(b**2/a, 0)), ((sqrt(x) + b/(2*a))*log(sqrt(x) + b/(2*a))/sqrt(a*(sqrt (x) + b/(2*a))**2), True))/(8*a**2), Ne(a, 0)), (2*(b*sqrt(x))**(5/2)/(5*b **3), Ne(b, 0)), (zoo*x**(3/2), True))
\[ \int \frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}} \, dx=\int { \frac {\sqrt {x}}{\sqrt {a x + b \sqrt {x}}} \,d x } \]
Time = 0.33 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.77 \[ \int \frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}} \, dx=\frac {1}{2} \, \sqrt {a x + b \sqrt {x}} {\left (\frac {2 \, \sqrt {x}}{a} - \frac {3 \, b}{a^{2}}\right )} - \frac {3 \, b^{2} \log \left ({\left | 2 \, \sqrt {a} {\left (\sqrt {a} \sqrt {x} - \sqrt {a x + b \sqrt {x}}\right )} + b \right |}\right )}{4 \, a^{\frac {5}{2}}} \]
1/2*sqrt(a*x + b*sqrt(x))*(2*sqrt(x)/a - 3*b/a^2) - 3/4*b^2*log(abs(2*sqrt (a)*(sqrt(a)*sqrt(x) - sqrt(a*x + b*sqrt(x))) + b))/a^(5/2)
Timed out. \[ \int \frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}} \, dx=\int \frac {\sqrt {x}}{\sqrt {a\,x+b\,\sqrt {x}}} \,d x \]